package com.itheima.demo2generic;

public class BMW extends Car{

    public BMW(String name, int price) {
        super(name, price);
    }

    @Override
    public void run() {
        System.out.println("宝马在跑");
    }
}
